package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author: 86182
 * @Date: 2021/8/31
 * @Time: 18:52
 * @Version:
 */
public interface SupplierDao {
    List<Supplier> list(@Param("offSet") Integer offSet,@Param("rows") Integer rows,@Param("supplierName") String supplierName);


    void save(Supplier supplier);

    void update(@Param("supplier") Supplier supplier,@Param("supplierId") Integer supplierId);


    void delete(@Param("id") Integer id);
}
